//
//  SinaClient.h
//
//  Created by Northwan on 27/5/15.
//  Copyright (c) 2014  All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WeiboSDK.h"

@interface SinaClient : NSObject<WBHttpRequestDelegate>

@property (nonatomic,copy) EventTwoHandler sinaHandler;
///sina weibo token
@property (strong,nonatomic) NSString* wbtoken;

+(SinaClient *)ShareSinaClient;

///通过微博绑定获取头像
- (void)weiboGetAvatar;
///进行微博绑定,上传相关到服务器
- (void)weiboBind;


///绑定微博成功
- (void)successBindWeibo:(WBAuthorizeResponse *)response;

///发送微博
- (void)sendWeiBo:(NSString *)text WithImage:(UIImage *)image;

- (void)sendWeiBo:(NSString *)title description:(NSString *)description WithImgUrl:(NSString *)imgUrl webpageUrl:(NSString *)webpageUrl;
@end
